<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>注册页面</title>
	<link href="${pageContext.request.contextPath}/css/register.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/js/layui/css/layui.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.js"></script>

</head>
<body>
<div class="outer">

	<span style="color: red">${suc1}</span>
	<h1 align="center" >账户注册</h1><br>
	<div id="registerMsg" style="font-size: 14px" align="center"></div>
	<form  method="post" id="form"  onsubmit="" action="${pageContext.request.contextPath}/user/zcUser">
		<div class="user-email">
			<div>

				<label><i class="am-icon-envelope-o">邮箱:</i></label>
				<input type="text" name="email" placeholder="请输入邮箱">
				<span style="color: red">${suc2}</span>
			</div>
		</div>
		<div class="user-pass">
			<div>
				<label><i class="am-icon-lock">姓名:</i></label>
				<input type="text" name="name" placeholder="真实姓名">
			</div>
		</div>
		<div class="user-pass">
			<div>
				<label><i class="am-icon-lock">角色:</i></label>&nbsp;&nbsp;&nbsp;
				<input type="radio" name="role"  value="ADMIN" checked="checked" >管理员
				&nbsp;&nbsp;&nbsp;
				<input type="radio" name="role"  value="USER">普通员工
			</div>
		</div>

		<div class="user-pass">
			<div>
				<label><i class="am-icon-lock">密码:</i></label>
				<input type="password" name="password"  placeholder="设置密码">
			</div>
		</div>
		<div class="user-pass">
			<div>
				<label><i class="am-icon-lock">确认:</i></label>
				<input type="password" name="passwordRepeat" placeholder="确认密码">
				<span style="color: red">${suc3}</span>
			</div>
		</div>
		<div align="center">
			<a href="login.jsp" style="font-size: 14px;color: #0909f1"><h3>返回登录</h3></a>
		</div><br>
		<div class="am-submit">
			<div >
				<input type="submit" id="ok" value="注册"  class="layui-btn layui-btn-normal layui-btn-sm">
				&nbsp;&nbsp;&nbsp;
				<input type="reset"  value="取消"  class="layui-btn layui-btn-normal layui-btn-sm">
			</div>

		</div>
	</form>

</div>

</body>

</html>